/*
 * DppmParams.h
 *
 *  Created on: 20/01/2014
 *      Author: root
 */


#ifndef DPPMPARAMS_H_
#define DPPMPARAMS_H_

struct Activity{
	int numPreds;
	int* preds;

	int numModes;
 	int* costs;
 	int* times;
};

//Agregar mas a demanda

class DppmParams{

private:
	int deadline;
	int numAct;
	Activity* acts;

public:
	DppmParams(int numAct, int T, int* numPreds, int** Preds, int* numModes, int** ModesCosts, int** ModesTimes);
	void setParams(int numAct, int T, int* numPreds, int** Preds, int* numModes, int** ModesCosts, int** ModesTimes);
	int getDeadline();
	int getNumActivities();
	int getActivityNumModes(int act);
	int* getActivityModesCosts(int act);
	int* getActivityModesTimes(int act);
	int getActivityNumPreds(int act);
	int* getActivityPreds(int act);
	void Print();
	~DppmParams();

};

#endif /* DPPMPARAMS_H_ */
